package com.tourism.website.personal.service;

import com.tourism.website.personal.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tourismwebsite.login.query.UserQuery;
import com.tourismwebsite.personal.dto.PersonalDTO;
import com.tourismwebsite.personal.query.PersonalQuery;
import com.tourismwebsite.vo.JsonVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author kevin
 * @since 2024-06-11
 */
public interface IUserService extends IService<User> {

    //查询个人信息
    List<PersonalDTO> queryPersonal(String userName);

    //更新个人信息
    boolean updatePersonal(PersonalQuery personalQuery);

    //查询头像和昵称
    List<PersonalDTO> queryPersonalById(Integer userId);

}
